# general
spring.main.banner-mode=off
spring.application.name=actions

# health
management.endpoint.health.status.order=fatal,down,out-of-service,unknown,up
management.endpoint.health.status.http-mapping.down=503
management.endpoint.health.status.http-mapping.fatal=503
management.endpoint.health.status.http-mapping.out-of-service=503
management.endpoint.health.show-details=always

# health probes
management.health.probes.enabled=true

# metrics
management.metrics.export.prometheus.enabled=true
management.endpoints.web.exposure.include=prometheus,health,info,metrics
management.metrics.enable.jvm=true
management.metrics.enable.all=true
management.metrics.distribution.percentiles-histogram.http.server.requests=true
management.metrics.distribution.sla.http.server.requests=1ms,5ms

# actions
actions.scheduler.delay=1000
actions.config.poolingPeriod=10
actions.config.url=http://configurer:8080/api/config/v1/actions
actions.balancer.url=http://balancer:8080/api/balancer/v1/actions

# tracing
opentracing.jaeger.log-spans=false
opentracing.jaeger.udp-sender.host=jaeger
# tracing jms
opentracing.spring.cloud.jms.enabled=false
# tracing jdbc
opentracing.spring.cloud.jdbc.withActiveSpanOnly=false
opentracing.spring.cloud.jdbc.enabled=true

# mq
ibm.mq.queueManager=MQ1
ibm.mq.channel=DEV.APP.SVRCONN
ibm.mq.connName=${MQ_HOST}(1414)
ibm.mq.user=app
#ibm.mq.password=passw0rd

# logging 
#logging.level.com.ibm.mq.spring.boot=TRACE
#logging.level.org.springframework.transaction=TRACE
#logging.level.org.springframework.jdbc.core=TRACE
#logging.level.reactor.netty.http.client.HttpClient= DEBUG
logging.level.org.springframework.web.reactive.function.client=DEBUG

# jdbc
#spring.datasource.driverClassName=
spring.datasource.url=jdbc:postgresql://db:5432/postgres
spring.datasource.username=postgres
spring.datasource.password=example
spring.datasource.maximum-pool-size=16

# flyway
spring.flyway.enabled=false
